﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserFriends.ascx.cs" Inherits="Controls_UserFriends" %>
<table class="DarkBackground" width="95%">
    <tr>
        <td align="left">
            <span class="LightGrayText">People</span>
        </td>
    </tr>
    <tr>
        <td align="Left">
            <asp:Label ID="lblError" runat="server" CssClass="redtext"></asp:Label>
        </td>
    </tr>
    <tr>
        <td valign="middle" align="center">
            <asp:DataList ID="FreindList" runat="server" Width="100%" RepeatColumns="1" RepeatDirection="Vertical">
                <ItemTemplate>
                    <table class="LightBackground" width="100%" cellpadding="2" cellspacing="0">
                        <tr>
                            <td align="left" valign="top" style="width: 50px">
                                <a href='<%#getHREF(Container.DataItem)%>'>
                                    <img align="middle" src='<%#getSRC(Container.DataItem)%>' border="1" style="border-color: Black"
                                        width="50px" height="50px" /></a>
                            </td>
                            <td align="left" valign="top">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="left" style="white-space: nowrap; vertical-align: top; height: 10px">
                                            <a href='<%#getHREF(Container.DataItem)%>' style="text-decoration: none"><span class="HighlightTextBold">
                                                <%#getName(Container.DataItem)%></span> </a>
                                                
                                                <a href='<%#getHREFSendMessage(Container.DataItem)%>'>
                                                    <img style="vertical-align:middle" align="middle" visible='<%#getSendMessageVisible(Container.DataItem)%>' runat="server" src="~/Images/mail Icon1.jpg" border="0" 
                                                        width="15" height="10" /></a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top">
                                            <span class="SmallLightGrayText">Mans changed pic..</span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
</table>
